package com.wave.wavesystem.serve.pojo.query;

import com.mybatisflex.annotation.Column;
import com.wave.common.model.BasePage;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class CommentQuery extends BasePage {

    private Long id;

    @Column(value = "postId", comment = "帖子id")
    private Long postId;

    @Column(value = "authorId", comment = "评论者id")
    private Long authorId;

    @Column(value = "content", comment = "评论内容")
    private Long content;

    @Column(value = "likecCount", comment = "点赞数")
    private Long likecCount;

    @Column(value = "replyTo", comment = "回复的评论id，如果是顶级评论则为null")
    private Long replyTo;

    @Column(value = "status", comment = "评论状态 0-审核 1-可见")
    private Long status;

}
